#include "xbiz.h"
#include "processing.h"

xbiz_t::xbiz_t(std::shared_ptr<xprocessing_t> processing)
    : processing_sptr_(processing)
{
}

xbiz_t::~xbiz_t()
{
}

std::pair<int, std::string> xbiz_t::get_err_info()
{
    return processing_sptr_->get_err_info();
}

int xbiz_t::handle_input(pkg& data)
{
    return processing_sptr_->handle_input(data);
}
